package edu.iscas.xcheck.analysis.dom.model;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class MutationEvent {
	private List<DomNode> init;
	private List<DomNode> added;
//	private List<DomNode> removed;
//	private List<DomNode> reordered;
//	private List<DomNode> reparented;
//	private List<DomNode> attributeChanged;
//	private List<DomNode> affected;
//	private List<DomNode> textChanged;
//	private DomNode root;
	private Map<String, LocalPage> localPageMap;
	private Map<String, DomNode> idMap;
	private Map<String, DomNode> removeMap;
	private Map<String, DomNode> addMap;
	
	public List<DomNode> getAdded() {
		return added;
	}

	public void setAdded(List<DomNode> added) {
		this.added = added;
	}
//
//	public List<DomNode> getRemoved() {
//		return removed;
//	}
//
//	public void setRemoved(List<DomNode> removed) {
//		this.removed = removed;
//	}
//
//	public List<DomNode> getReordered() {
//		return reordered;
//	}
//
//	public void setReordered(List<DomNode> reordered) {
//		this.reordered = reordered;
//	}
//
//	public List<DomNode> getReparented() {
//		return reparented;
//	}
//
//	public void setReparented(List<DomNode> reparented) {
//		this.reparented = reparented;
//	}
//
//	public List<DomNode> getAttributeChanged() {
//		return attributeChanged;
//	}
//
//	public void setAttributeChanged(List<DomNode> attributeChanged) {
//		this.attributeChanged = attributeChanged;
//	}

	public List<DomNode> getInit() {
		return init;
	}

	public void setInit(List<DomNode> init) {
		this.init = init;
	}

//	public List<DomNode> getAffected() {
//		return affected;
//	}
//
//	public void setAffected(List<DomNode> affected) {
//		this.affected = affected;
//	}
//
//	public List<DomNode> getTextChanged() {
//		return textChanged;
//	}
//
//	public void setTextChanged(List<DomNode> textChanged) {
//		this.textChanged = textChanged;
//	}

//	public DomNode getRoot() {
//		return root;
//	}
//
//	public void setRoot(DomNode root) {
//		this.root = root;
//	}

	public Map<String, DomNode> getIdMap() {
		return idMap;
	}

	public void setIdMap(Map<String, DomNode> idMap) {
		this.idMap = idMap;
	}

	public Map<String, DomNode> getRemoveMap() {
		return removeMap;
	}

	public void setRemoveMap(Map<String, DomNode> removeMap) {
		this.removeMap = removeMap;
	}

	public Map<String, LocalPage> getLocalPageMap() {
		return localPageMap;
	}

	public void setLocalPageMap(Map<String, LocalPage> localPageMap) {
		this.localPageMap = localPageMap;
	}

	public Map<String, DomNode> getAddMap() {
		return addMap;
	}

	public void setAddMap(Map<String, DomNode> addMap) {
		this.addMap = addMap;
	}

}
